﻿from google.appengine.ext import db

class Board(db.Model):
    board_id = db.IntegerProperty()
    board_name = db.TextProperty()
    board_desc = db.TextProperty()
    board_class = db.IntegerProperty()
    board_type = db.IntegerProperty()

class BoardLoader(Loader):
  def __init__(self):
    Loader.__init__(self, 'Board',
                    [('board_id', int),
                     ('board_name', str),
                     ('board_desc', str),
                     ('board_class', int),
                     ('board_type', int)
                     ])